package com.ruoyi.system.repository.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 ordertable
 *
 * @author qiang
 * @date 2021-01-01
 */
public class Ordertable extends BaseEntity
        {
private static final long serialVersionUID=1L;

        /** 会员姓名 */
                                                        @Excel(name = "会员姓名")
                        private String username;

            /** 饮料id */
                                                        @Excel(name = "饮料id")
                        private String drinkid;

            /** 饮料名 */
                                                        @Excel(name = "饮料名")
                        private String drinkname;

            /** 饮料信息 */
                                                        @Excel(name = "饮料信息")
                        private String drinkinfo;

            /** 饮料价格 */
                                                        @Excel(name = "饮料价格")
                        private Long drinkprice;

            /** 饮料总数 */
                                                        @Excel(name = "饮料总数")
                        private Long drinknum;

            /** 订单时间 */
                                                        @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
                        private Date ordertime;

            /** 订单id */
                                                        @Excel(name = "订单id")
                        private Long orderid;

            /** 取餐id */
                                                        @Excel(name = "取餐id")
                        private Long pickid;

                            public void setUsername(String username)
            {
            this.username = username;
            }

    public String getUsername()
            {
            return username;
            }
                            public void setDrinkid(String drinkid)
            {
            this.drinkid = drinkid;
            }

    public String getDrinkid()
            {
            return drinkid;
            }
                            public void setDrinkname(String drinkname)
            {
            this.drinkname = drinkname;
            }

    public String getDrinkname()
            {
            return drinkname;
            }
                            public void setDrinkinfo(String drinkinfo)
            {
            this.drinkinfo = drinkinfo;
            }

    public String getDrinkinfo()
            {
            return drinkinfo;
            }
                            public void setDrinkprice(Long drinkprice)
            {
            this.drinkprice = drinkprice;
            }

    public Long getDrinkprice()
            {
            return drinkprice;
            }
                            public void setDrinknum(Long drinknum)
            {
            this.drinknum = drinknum;
            }

    public Long getDrinknum()
            {
            return drinknum;
            }
                            public void setOrdertime(Date ordertime)
            {
            this.ordertime = ordertime;
            }

    public Date getOrdertime()
            {
            return ordertime;
            }
                            public void setOrderid(Long orderid)
            {
            this.orderid = orderid;
            }

    public Long getOrderid()
            {
            return orderid;
            }
                            public void setPickid(Long pickid)
            {
            this.pickid = pickid;
            }

    public Long getPickid()
            {
            return pickid;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("username",getUsername())
                                .append("drinkid",getDrinkid())
                                .append("drinkname",getDrinkname())
                                .append("drinkinfo",getDrinkinfo())
                                .append("drinkprice",getDrinkprice())
                                .append("drinknum",getDrinknum())
                                .append("ordertime",getOrdertime())
                                .append("orderid",getOrderid())
                                .append("pickid",getPickid())
            .toString();
        }
        }
